package com.lianniu.web.tea.order.service;

import java.util.HashMap;
import java.util.Map;

import com.lianniu.web.base.BaseResult;
import com.lianniu.web.tea.order.model.TeaOrder;

public interface ITeaOrderService {

	BaseResult getOrderInfoBefore(String userId, String productId);

	BaseResult saveOrder(TeaOrder order);

	BaseResult getOrderInfo(String orderId);

	BaseResult cancleOrder(String orderId, String status);
	/**
	 * 根据用户id去查询订单信息
	 * @param orderId
	 * @return
	 */
	BaseResult getOrderListByUserId(Map param);
	
	BaseResult makeSure(String orderId);

	BaseResult updateTeaOrder(TeaOrder order);


}
